package com.stars.base.controller;

import org.springframework.beans.factory.annotation.Autowired;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author : Rocks
 * @version : 1.0
 * @date : 2022/10/16 21:45
 * @description : 基础控制器
 */
public abstract class BaseController {

    @Autowired
    private HttpServletRequest request;
    @Autowired
    private HttpServletResponse response;

    public HttpServletRequest getRequest(){
        return this.request;
    }

    public HttpServletResponse getResponse(){
        return this.response;
    }

}
